-- GENERATED SPELL FOR [Shadowfang Glutton] --


function spell0_3857(pUnit, Event) --@Blood Tap,Heal--
pUnit:FullCastSpellOnTarget(7122,pUnit)
pUnit:RegisterEvent('Sorts_3857', 604, 1)
end

function Sorts_3857(pUnit, Event)
local choix_sorts_3857 = math.random(0, 0)
if choix_sorts_3857 == 0 then
pUnit:RegisterEvent('spell0_3857', 1, 1)
end
end

function mob3857_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_3857', math.random(1500, 3000), 1)
end

function mob3857_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3857_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob3857_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(3857, 1, 'mob3857_Action')
RegisterUnitEvent(3857, 2, 'mob3857_Leave')
RegisterUnitEvent(3857, 3, 'mob3857_Kill')
RegisterUnitEvent(3857, 4, 'mob3857_Die')
